package com.platform.modular.feign.account;

import com.platform.modular.feign.model.entity.MerchantEntity;
import com.platform.modular.model.account.vo.MerchantBaseVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author yifei.han
 * @version 1.0
 * @className MerchantFeignService
 * @description
 * @date 2022/3/11
 */
@FeignClient(value = "sk-platform-account", contextId = "merchant")
public interface MerchantFeignService {

    @RequestMapping("/merchant/queryMerchantByAppId")
    MerchantEntity queryMerchantByAppId(String appId);

    @RequestMapping(value = "/merchant/obtainMerchantBase")
    MerchantBaseVO obtainMerchantBase(Long merchantId);

}
